package com.chat;

import com.chat.page.ChatMain;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.swing.*;

@SpringBootApplication
public class ChatApplication {

	public static void main(String[] args) {
		SwingUtilities.invokeLater(() -> ChatMain.createAndShowGUI());
		SpringApplication.run(ChatApplication.class, args);
	}

}

